<form action='' method='post' name='adminedit{$character.player_id}'>
<INPUT TYPE=HIDDEN NAME='action' value='add'>
  <table id='popup_table' cellspacing='0'>
    <tr class='menu_header'>
  	</tr>
  	<tr class='row_1'>
	<td colspan='3' class='staticboldcenter'>
	Please insert the following information:<br><span class='error'>{$errormessage}</span><br>
	</td>
	</tr>
  	<tr class='row_1'>
		<td class='staticboldright'>
		<br>
		</td>
		<td class='autonormaltop'>
		<br>
		</td>
		<td class='autonormaltopright' width='16px'>
		<br>
		</td>
	</tr>
  	<tr class='row_1'>
		<td class='staticboldright'>
			Name:
			
		</td>
		<td class='autonormalcenter'>
			<input type='text' id='name{$single_user.user_id}' class='largetext' name='name' value='{$single_user.name}'>
		</td>
		<td class='autonormal'>

		</td>
	</tr>
  	<tr class='row_1'>
		<td class='staticboldright'>
			Username:
			
		</td>
		<td class='autonormalcenter'>
			<input type='text' id='username{$single_user.user_id}' class='largetext' name='username' value='{$single_user.username}'>
		</td>
		<td class='autonormal'>

		</td>
	</tr>
  	<tr class='row_1'>
		<td class='staticboldright'>
			Email:
			
		</td>
		<td class='autonormalcenter'>
			<input type='text' id='email{$single_user.user_id}' class='largetext' name='email' value='{$single_user.email}'>
		</td>
		<td class='autonormal'>

		</td>
	</tr>
  	<tr class='row_1'>
		<td class='staticboldright'>
			Userlevel:
			
		</td>
		<td class='autonormalcenter'>
			<input type='text' id='level{$single_user.user_id}' class='smalltext' name='level' value='{$single_user.level}'>
		</td>
		<td class='autonormal'>

		</td>
	</tr>
  	<tr class='row_1'>
		<td class='staticboldright'>
		<br>		
		</td>
		<td class='autonormalcenter'>
		</td>
		<td class='autonormal'>

		</td>
	</tr>
  	<tr class='row_1'>
		<td class='staticboldright'>
			New password:
			
		</td>
		<td class='autonormalcenter'>
			<input type='password' id='password1{$single_user.user_id}' class='largetext' name='password1' value=''>
		</td>
		<td class='autonormal'>

		</td>
	</tr>
  	<tr class='row_1'>
		<td class='staticboldright'>
			Repeat password:
			
		</td>
		<td class='autonormalcenter'>
			<input type='password' id='password2{$single_user.user_id}' class='largetext' name='password2' value=''>
		</td>
		<td class='autonormal'>

		</td>
	</tr>
	
  	<tr class='row_1'>
		<td class='staticboldright'>
		<br>
		</td>
		<td class='autonormalbottom'>
		<br>
		</td>
		<td class='autonormalbottomright'>
		&nbsp;
		</td>
	</tr>
	<tr class='row_1'>
		<td class='staticboldcenter' colspan='3'>
		<br>
		<input name='newchar' type='button' value='Update' onclick='updateUser({$single_user.user_id} ,1 ,{$smarty.foreach.users.iteration}, {$script_location})'>
		</td>
	</tr>
 </table> 
</form>